Changed GtkTreeViewColumn->requested_width to ->padding
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 6 Dec 2010 07:31:07 +0000 (16:31 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 6 Dec 2010 07:31:07 +0000 (16:31 +0900)
commitbf1aa2ad87ecb164282bf9a655464a16209cc774
tree1a8b2d08a199ced1711b2bab403ec8b23dfe70c6
parenta090d62339be687e1a210d441571bd4edb901560
Changed GtkTreeViewColumn->requested_width to ->padding

Now we bookkeep the treeview assigned padding asides from the
requested width stored in the GtkCellAreaContext, this removes
the need for bookkeeping the deepest expanded depth in gtktreeview.c

At allocation time, just remove the padding from the allocated width
of the column and feed the rest to the underlying cell area.
gtk/gtktreeprivate.h
gtk/gtktreeview.c
gtk/gtktreeviewcolumn.c